<?php
header('Content-Type:text/html; charset=utf-8');
include ("datos/conexion.php");
$nomb = mb_strtoupper($_POST['nomb'],'utf-8');
$des = mb_strtoupper($_POST['des'],'utf-8');
$facul = $_POST['facul'];
$codi = $_POST['codi'];
$men = mb_strtoupper($_POST['men'],'utf-8');
$inserta = 'INSERT INTO postgrado(oidf,nombre,descrip,codigo,mencion)	VALUES(' . $facul . ',"' . $nomb . '","' . $des . '",'.$codi.',"' . $men . '")';
$result1 = mysql_query($inserta, $conexion);
if (!$result1) {
	$msj = 'Error: ' . mysql_error();
} else {
	$msj = 'Se Registro Con Exito';
}

echo $msj;
?>

